--- src/jpeg2000.imageio/jpeg2000output-v1.cpp.orig	2019-08-02 13:53:54.000000000 +1000
+++ src/jpeg2000.imageio/jpeg2000output-v1.cpp	2019-08-07 21:54:04.354000000 +1000
@@ -28,6 +28,7 @@
   (This is the Modified BSD License)
 */
 
+#include <cstdio>
 #include <vector>
 
 #include "openjpeg.h"
